/* Новые переменные */
:root {
  --bg: hsl(210, 15%, 98%); /* Общий фон */
  --card-bg: #ffffff; /* Фон для карточек */
  --text-color: hsl(210, 15%, 15%); /* Основной цвет текста */
  --muted-text: hsl(210, 8%, 55%); /* Цвет приглушенного текста */
  --primary-color: hsl(205, 100%, 40%); /* Основной акцентный цвет */
  --primary-light: #cfe5ff; /* Светлый оттенок основного цвета для тегов */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Стандартная тень */
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1); /* Большая тень для ховера */
  --border-radius-sm: 8px; /* Малый радиус скругления */
  --border-radius-lg: 12px; /* Большой радиус скругления */
  --border-color: #eaf0fa; /* Цвет границы */
      --color-red: #E74C3C; /* Алый, для акцентов и энергии */
    --color-yellow: #F39C12; /* Яркий желтый, для выделения */
    --color-dark: #0A0A0A; /* Почти черный, основной фон */
    --color-light: #f4f4f4; /* Светлый текст */
    --color-bg-section: #141414; /* Темный фон секций */
    --color-bg-darker: #0D0D0D; /* Еще темнее */
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  font-family: "Inter", "Roboto", sans-serif;
  background-color: var(--bg);
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.logo {
  flex-shrink: 0; /* запрет сжиматься */
  white-space: nowrap; /* текст не переносится */
  transform-origin: left center; /* масштаб идёт от левого края */
}

@media (max-width: 500px) {
  .logo {
    transform: scale(0.8); /* уменьшается целиком */
  }
}

@media (max-width: 360px) {
  .logo {
    transform: scale(0.7);
  }
}
.event-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: url("event-button2.png") center/cover no-repeat; /* оранжевый градиент */
  color: #fff;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 10px 20px rgba(30, 144, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 20px auto;
  width: auto;
  max-width: 100%;
}
.event-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(30, 144, 255, 0.4);
}
.event-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}
.event-content h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.event-content p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.9;
}
.event-icon {
  color: #ffffff;
  font-size: 18px;
  font-weight: 860;
  margin-right: 0px;
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
}
.event-time {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px black; /* обводка */
}

.event-text {
  color: #0080ff;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 1px 1px 1px black; /* обводка */
}

header {
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(0px) blur(1px);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: center; /* центрируем всю строку */
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: column; /* логотип сверху */
    align-items: center; /* растягиваем на всю ширину */
  }

  .searchbar {
    width: auto; /* чтобы не растягивалось */
    margin-left: 0; /* остаётся справа */
  }

  .searchbar input {
    flex: none; /* поиск растягивается */
    min-width: 200px; /* убираем ограничение */
  }

  .searchbar select {
    width: 40%; /* селект компактнее */
  }
}

/* Базовый (на ПК) */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 32px; /* 🔼 сделай больше шрифт */
}

.logo-badge {
  width: 64px; /* 🔼 круг больше */
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  box-shadow: inset 0 0 0 3px var(--brand);
  font-size: 24px; /* 🔼 текст внутри круга больше */
  font-weight: 900;
}

@media (max-width: 600px) {
  .logo {
    font-size: 42px;
    margin-top: 20px;
    margin-left: 0; /* ✅ убрали отрицательный отступ */
    text-align: center; /* чтобы было по центру, если надо */
  }
  .logo-badge {
    width: 80px; /* 🔼 сам круг ещё больше */
    height: 80px;
    font-size: 30px; /* 🔼 буквы внутри круга больше */
  }
}

.searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0; /* убираем все отступы */
  flex: 0 0 auto; /* важное: блок занимает только столько места, сколько нужно */
}

.input {
  appearance: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe7ff;
  flex: none;
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow);
}
.select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe7ff;
  background: #fff;
  box-shadow: var(--shadow);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 144, 255, 0.25);
}
.btn:hover {
  background: var(--brand-600);
}
.btn-ghost {
  background: #fff;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand-50), var(--shadow);
}

main {
  padding: 18px 0 64px;
}

.hero {
  text-align: center;
  padding: 26px 0 10px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(26px, 2.6vw + 12px, 44px);
  letter-spacing: 0.2px;
}
.hero p {
  margin: 0.6rem auto 0;
  max-width: 700px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid #eaf0fa;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(3, 27, 78, 0.1);
}

.row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #fff, #f2f7ff);
  border: 1px solid #e3edff;
  box-shadow: 0 8px 20px rgba(3, 27, 78, 0.06);
  font-size: 32px;
}
.icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* заставляем заполнить квадрат без искажений */
}

.title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--brand-50);
  color: var(--brand);
  border: 1px solid #cfe5ff;
}

.card-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
a.btn,
button.btn {
  text-decoration: none;
}

/* Detail page */
.detail {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .detail {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}
.panel {
  background: #fff;
  border: 1px solid #eaf0fa;
  border-radius: var(--radius-2xl);
  padding: 18px;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.dl {
  display: grid;
  gap: 10px;
}
.dl a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}
.dl .primary {
  background: var(--brand);
  color: #fff;
}
.dl .secondary {
  background: #fff;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand-50), var(--shadow);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--brand-600);
  text-decoration: none;
}

footer {
  width: 100%;
  border-top: 1px solid #e8eef9;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

/* Focus ring for a11y */
:is(a, button, input, select):focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.event-timeline {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #fff8e1; /* мягкий светлый фон */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.event-timeline h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ff6600;
}

.timeline {
  position: relative;
  padding-left: 60px; /* пространство для точек */
  padding-top: 20px;
  padding-bottom: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.timeline-line {
  position: absolute;
  left: 13px; /* центр линии под точкой */
  top: 28px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #ff9900, #ffcc00);
  z-index: 0;
}

.timeline-line.last {
  display: none;
}

.timeline-content {
  margin-left: 20px; /* отступ от линии и точки */
  background: #fff3d6; /* чуть контрастнее фона коробки */
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Добавьте в style.css */
.glow-btn {
  position: relative;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff9a3c, #ff4e00);
  border: none;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 120, 0, 0.15);
  transition: transform 0.2s;
  overflow: hidden;
}

.glow-btn:active {
  transform: scale(0.97);
}

.glow-btn.active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 3px solid #ff9800;
  box-shadow: 0 0 24px 8px #ff9800;
  opacity: 1;
  animation: glow-fly-forward 0.7s cubic-bezier(0.4, 2, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes glow-fly-forward {
  0% {
    opacity: 1;
    transform: scale(1) perspective(400px) translateZ(0px);
    filter: blur(0px);
  }
  60% {
    opacity: 0.7;
    transform: scale(1.5) perspective(400px) translateZ(40px);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(2) perspective(400px) translateZ(80px);
    filter: blur(6px);
  }
}

.sidebar-apps {
  position: fixed;
  top: 100px;
  right: 16px;
  width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.08);
  padding: 18px 12px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Переезжает вниз уже при ширине <1000px */
@media (max-width: 1600px) {
  .sidebar-apps {
    position: static;
    width: 100%;
    margin: 24px 0;
    box-shadow: none;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding: 0;
    background: none;
  }
}

/* На очень маленьких экранах sidebar занимает всю ширину и уходит вниз */
@media (max-width: 600px) {
  .sidebar-apps {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    margin: 18px 0 0 0;
    padding: 0;
  }
}

.sidebar-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7fbff;
  border-radius: 14px;
  padding: 10px 8px;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.06);
  min-width: 220px;
}

.sidebar-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sidebar-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-app-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-app-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e90ff;
  margin-bottom: 2px;
}

.sidebar-app-studio {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.sidebar-app-stars {
  font-size: 14px;
  color: #ff9800;
  letter-spacing: 2px;
}

.slider-one {
  width: 420px;
  max-width: 100%;
  margin: 32px auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  position: relative;
  overflow: hidden; /* важно! */
  min-height: 220px; /* чтобы caption не налезал на фото */
}

.slider-img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  opacity: 1;
  transition: opacity 0.7s, filter 0.7s;
  filter: brightness(1);
  position: relative;
  z-index: 2;
}

.slider-img.fade-out {
  opacity: 0;
  filter: brightness(0.7);
}

.slider-img.fade-in {
  opacity: 1;
  filter: brightness(1);
}

/* Контейнер для двух кнопок */
.event-buttons {
  display: flex;
  gap: 20px; /* расстояние между кнопками */
  justify-content: center; /* центрируем */
  flex-wrap: wrap; /* если мало места – переносим вниз */
}

/* Вторая кнопка (для тестеров) */
.tester-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: url("tester_banner.png") center/cover no-repeat,
    linear-gradient(135deg, #4caf50, #2e7d32); /* зелёный градиент для тестеров */
  color: #fff;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 20px auto;
  width: auto;
  max-width: 100%;
}

.tester-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(46, 125, 50, 0.4);
}

.event-btn,
.tester-btn {
  margin: 2; /* убираем автоматический отступ */
}


.event-buttons {
  display: flex;
  justify-content: center; /* центрируем блок с кнопками */
  gap: 40px; /* расстояние между кнопками */
  margin: 20px auto; /* задаём общий отступ сверху/снизу */
}

.tester-login {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: #fff8e1;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.tester-login input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.tester-login button {
  padding: 10px 16px;
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}
.tester-page {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f0fff4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tester-btn .event-icon {
  font-size: 30px; /* увеличиваем только у тестеров */
  font-style: e;
  color: white; /* если хочешь синим */
}

.tester-btn .event-text {
  font-size: 1.69rem;
  font-weight: 800;
  line-height: 2.5rem;
  color: #1479d1;
  text-transform: capitalize;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    Helvetica Neue, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic,
    sans-serif;

  text-shadow: 0 0 4px #1479d1, 0 0 8px #1479d1, 0 0 16px #1479d1;
}

.gradient-text {
  background: linear-gradient(to right, #a5f3fc, #a7f3d0, #93c5fd);
  font-size: 1.45rem;
  font-weight: 800;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.4px #000000;
}

.link-block {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 16rem; /* md:h-96 ~ 384px */
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  color: white;
}

.link-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.link-block:hover img {
  transform: scale(1.05);
}

.link-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.link-block:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.link-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.link-text .subtitle {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.link-block:hover .subtitle {
  opacity: 1;
}

.link-text {
  display: flex;
  flex-direction: column; /* текст сверху, subtitle снизу */
  align-items: center; /* по центру горизонтально */
  justify-content: center;
}

.link-text span:first-child {
  display: inline-flex; /* основной текст + стрелка */
  align-items: center;
  gap: 8px; /* расстояние между текстом и стрелкой */
}

.icon-arrow {
  width: 43px;
  height: 43px;
  fill: none; /* прозрачный фон */
  stroke: currentColor;
}

.subtitle {
  margin-top: 4px; /* немного отступ снизу основного текста */
  font-size: 14px;
  opacity: 0.8;
  transform: translateX(-15px); /* смещаем на 4px влево */
}

.link-text .subtitle {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  opacity: 0;
  transform: translateY(10px); /* чуть ниже */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.link-block:hover .subtitle {
  opacity: 1;
  transform: translateY(0); /* поднимается на место */
}

.hero-suncyn {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 20px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius-xl);
  margin-bottom: 20px;
}
.hero-suncyn h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-suncyn p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted-text);
  max-width: 600px;
}
.hero-suncyn-content {
  flex: 1;
}
.hero-suncyn-image {
  flex: 1;
  text-align: right;
}
.hero-suncyn-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-xl);
}
@media (max-width: 900px) {
  .hero-suncyn {
    flex-direction: column-reverse;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius-xl);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.card .btn {
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  box-shadow: none;
}
.card .btn-ghost {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

/* ... (остальной CSS) */
/* Единый стиль для всех карточек и панелей */
.card,
.panel {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Обновлённые стили для страницы деталей */
.detail .panel {
  padding: 24px; /* Увеличил отступы для лучшей читаемости */
}

/* Обновлённый стиль иконки */
.icon {
  width: 64px;
  height: 64px;
  border-radius: 16px; /* Чуть менее скруглённые углы */
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--card-bg); /* Чистый белый фон */
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  font-size: 32px;
}
.icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Обновлённый стиль тегов */
.tag {
  font-size: 12px;
  border-radius: var(--border-radius-sm);
  padding: 6px 10px;
  background: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-light); /* Единая цветовая гамма */
}

/* Упрощённый стиль кнопок загрузки */
.dl a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

/* Кнопка «Скачать APK» */
.dl .primary {
  /* ... (остальные стили) */
  background: var(--primary-color);
  color: #fff; /* Белый текст на синем фоне */
  border: 1px solid var(--primary-color);
  box-shadow: none;
}
.dl .primary:hover {
  background: hsl(205, 100%, 30%); /* Чуть темнее при наведении */
}

/* Кнопка «Назад» */
.dl .secondary {
  /* ... (остальные стили) */
  background: var(--card-bg); /* Белый фон */
  color: var(--text-color); /* Темный текст на белом фоне */
  border: 1px solid var(--border-color); /* Светлая рамка */
  box-shadow: none;
}
.dl .secondary:hover {
  background: var(--bg); /* Светло-серый фон при наведении */
}

/* Общая компоновка детальной страницы */
.detail {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .detail {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* Сайдбар */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.app-info {
  margin-top: 16px;
}
.app-info .title {
  font-size: 24px;
  margin-bottom: 8px;
}
.app-info .tags {
  justify-content: center;
}

/* Кнопки загрузки */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.download-buttons .btn {
  width: 100%;
}
.mod-notes {
  font-size: 12px;
  color: var(--muted-text);
  margin-top: 16px;
}

/* Основной контент */
.detail-content .section-title {
  margin: 24px 0 12px;
  font-size: 20px;
}
.detail-content .section-title:first-of-type {
  margin-top: 0;
}

/* Список особенностей и что нового */
.features-list,
.whatsnew-list {
  padding-left: 20px;
}
.features-list li,
.whatsnew-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Информация (мета-данные) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-item {
  display: flex;
  flex-direction: column;
}
.info-key {
  font-weight: 600;
  color: var(--text-color);
}
.info-value {
  color: var(--muted-text);
  font-size: 14px;
}
.disclaimer-card {
  margin-top: 24px;
}

/* Скриншоты */
.screenshots-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}
/* Кнопка «Скачать APK» */
.dl .primary {
  /* ... (остальные стили) */
  background: var(--primary-color);
  color: #fff; /* Белый текст на синем фоне */
  border: 1px solid var(--primary-color);
  box-shadow: none;
}
.dl .primary:hover {
  background: hsl(205, 100%, 30%); /* Чуть темнее при наведении */
}

/* Кнопка «Назад» */
.dl .secondary {
  /* ... (остальные стили) */
  background: var(--card-bg); /* Белый фон */
  color: var(--text-color); /* Темный текст на белом фоне */
  border: 1px solid var(--border-color); /* Светлая рамка */
  box-shadow: none;
}
.dl .secondary:hover {
  background: var(--bg); /* Светло-серый фон при наведении */
}
/* Общие стили для кнопок загрузки */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Иконки внутри кнопок */
.download-btn-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Основная кнопка (синяя) */
.download-btn--primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.download-btn--primary:hover {
  background-color: hsl(205, 100%, 30%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Второстепенная кнопка (белая) */
.download-btn--secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.download-btn--secondary:hover {
  background-color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.about-suncyn {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius-xl);
  margin-top: 20px; /* Отступ от предыдущего блока */
  margin-bottom: 20px;
}

.about-suncyn h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-suncyn p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-text);
}

.about-suncyn-content {
  flex: 1;
}

.about-suncyn-image {
  flex: 1;
  text-align: left;
}

.about-suncyn-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-xl);
}

/* Стили для адаптивности */
@media (max-width: 900px) {
  .about-suncyn {
    flex-direction: column; /* На маленьких экранах изображение будет снизу */
  }
}

/* Выделение текста */
.highlight-text {
  color: var(--primary-color);
}
/* Новая секция для статистики проекта */
.project-stats {
  margin-top: 20px; /* Отступ от предыдущего блока */
  margin-bottom: 20px;
}

.project-stats h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
}

.project-stats p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: var(--bg);
  border-radius: var(--border-radius-sm);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted-text);
}
.kuzyabx {
  background: linear-gradient(135deg, #1162cb, #2575fc); /* плавный градиент */
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px; /* аккуратные закругленные углы */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* легкая тень */
}

.kuzyabx:hover {
  transform: translateY(-2px); /* плавный "подъем" при наведении */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.kuzyabx:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.hero-kuzyabx {
  text-align: center;
  padding: 26px 0 10px;
}
.herokuzyabx h1 {
  margin: 0;
  font-size: clamp(26px, 2.6vw + 12px, 44px);
  letter-spacing: 0.2px;
}
.hero-kuzyabx p {
  margin: 0.6rem auto 0;
  max-width: 700px;
  color: var(--muted);
}
.event-btn{
  margin-bottom: 20px;
}
.full-width-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.full-width-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* изначально прозрачный */
  transition: background 0.3s ease;
}

.full-width-section:hover .overlay {
  background: rgba(0, 0, 0, 0.4); /* затемнение при ховер */
}

.link-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.link-text span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: bold;
}

.icon-arrow {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
}

.subtitle {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.full-width-section:hover .subtitle {
  opacity: 1;
  transform: translateY(0);
}
#testerLink .link-text {
  cursor: pointer;
}
/* Контейнер формы */
.tester-application {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Заголовок */
.tester-application h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

/* Поля формы */
#testerAppForm input,
#testerAppForm select,
#testerAppForm textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.2s;
}

#testerAppForm input:focus,
#testerAppForm select:focus,
#testerAppForm textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Кнопка отправки */
#testerAppForm button {
  width: 100%;
  padding: 14px;
  background-color: #007bff;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

#testerAppForm button:hover {
  background-color: #0056b3;
  transform: scale(1.02);
}

/* JSON вывод */
#jsonOutput {
  font-family: monospace;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
  border-radius: 8px;
}

/* Адаптив */
@media (max-width: 640px) {
  .tester-application {
    padding: 20px;
    margin: 20px;
  }
}
.event-btn {
  margin-right: 20px; /* отступ справа */
}

.tester-btn {
  margin-left: 5px; /* отступ слева */
}
/* =====================================
   СТИЛИ КНОПОК В СТИЛЕ CTA-CHAR-BUTTON
   (Желтый неон с заполнением)
   ===================================== */

/* 1. Общий контейнер */
.buttons-container-cta {
    display: flex;
    justify-content: center;
    gap: 30px; 
    margin: 40px auto;
    padding: 0 20px;
    flex-wrap: wrap; 
}

/* 2. Базовый стиль кнопки (.cta-style-btn) */
.cta-style-btn {
    /* Основные стили, скопированные из .cta-char-button */
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    
    /* Цвета и рамка */
    background-color: var(--color-bg-section, #1c1c1c); 
    color: var(--color-yellow); /* Желтый текст */
    border: 2px solid var(--color-yellow);
    
    /* Эффекты */
    transition: all 0.4s ease-out;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    /* Растягивание */
    flex-grow: 1;
    max-width: 400px;
    min-width: 280px;
}

/* 3. Эффект заполнения (::before) */
.cta-style-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow); /* Желтое заполнение */
    transform: translateX(-100%); 
    transition: transform 0.4s ease-out;
    z-index: -1;
}

/* 4. Эффект при наведении */
.cta-style-btn:hover {
    color: var(--color-dark); /* Текст становится темным */
    border-color: var(--color-red); /* Рамка становится красной */
    box-shadow: 0 0 20px var(--color-red); /* Красное свечение */
    transform: translateY(-3px);
}

.cta-style-btn:hover::before {
    transform: translateX(0); /* Появляется слева направо */
}

/* 5. Внутренние элементы (иконки и текст) */

/* Иконки и стрелка наследуют цвет от родителя, но должны быть четко стилизованы */
.cta-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    flex-shrink: 0;
    /* Убеждаемся, что цвет меняется при ховере */
    transition: color 0.4s ease-out;
}

.cta-text {
    flex-grow: 1;
    text-align: center;
    /* Убираем ненужную тень, оставляем чистый текст */
}

.cta-arrow {
    width: 28px;
    height: 28px;
    margin-left: 12px;
    flex-shrink: 0;
    /* Стрелка наследует цвет */
    transition: transform 0.4s ease-out, color 0.4s ease-out;
}

.cta-style-btn:hover .cta-arrow {
    transform: translateX(5px); /* Сдвиг стрелки при ховере */
}


/* 6. Адаптивность для кнопок */
@media (max-width: 600px) {
    .buttons-container-cta {
        flex-direction: column;
        gap: 15px;
    }
    .cta-style-btn {
        max-width: 100%;
        min-width: auto;
    }
}
/* ================================================================= */
/* СТИЛИ КАРТОЧКИ СОБЫТИЯ HALLOWEEN В СТИЛЕ APP STORE (НОВЫЕ КЛАССЫ) */
/* ================================================================= */

.appstore-event-card {
    display: flex;
    background-color: rgba(30, 30, 30, 0.8); /* Темный полупрозрачный фон */
    backdrop-filter: blur(12px); /* Усилим размытие для лучшего эффекта */
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Более заметная тень */
    overflow: hidden; /* Обрезаем контент по углам */
    max-width: 650px; /* Максимальная ширина карточки */
    margin: 30px auto; /* Центрируем и добавляем отступы */
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Тонкая светлая обводка */
}

.appstore-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.appstore-event-image-container {
    flex: 0 0 40%; /* Занимает 40% ширины слева */
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a; /* Фоновый цвет, если картинка не загрузится */
}

.appstore-event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер, обрезая лишнее */
    display: block;
}

.appstore-event-content {
    flex: 1; /* Оставшееся пространство справа */
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяем контент по вертикали */
    position: relative;
}

.appstore-event-tag { /* "HAPPENING NOW" */
    position: absolute;
    top: 15px;
    left: 25px;
    background-color: rgba(236, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    color: #ffffff;
    backdrop-filter: blur(2px);
    text-transform: uppercase;
    z-index: 20; /* Добавлено, чтобы tag был поверх всего в мобильной версии */
}

.appstore-event-heading {
    margin-top: 30px; /* Отступ от "HAPPENING NOW" */
    margin-bottom: 15px;
}

.appstore-event-heading small { /* "SPECIAL EVENT" */
    display: block;
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appstore-event-heading h3 { /* "Halloween Festival" */
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
    color: #fff;
    line-height: 1.2;
}

.appstore-event-description {
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.appstore-event-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Прижимает футер к низу */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.appstore-event-footer .game-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2f333a; /* Заглушка для иконки игры */
    flex-shrink: 0;
}

.appstore-event-footer .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appstore-event-footer .game-info {
    flex-grow: 1;
}

.appstore-event-footer .game-info h4 {
    margin: 0;
    font-size: 1em;
    color: #fff;
}

.appstore-event-footer .game-info p {
    margin: 2px 0 0;
    font-size: 0.8em;
    color: #bbb;
}

.appstore-event-view-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.appstore-event-view-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* --- Стили для мобильных устройств (ширина до 768px) --- */
@media (max-width: 768px) {
    .appstore-event-card {
        flex-direction: column; 
        margin: 20px auto;
        border-radius: 12px; 
    }

    .appstore-event-image-container {
        flex: none;
        width: 100%;
        height: auto;
        position: relative; /* Обязательно, чтобы tag привязывался к картинке */
        /* ИЗМЕНЕНО: Используем padding-bottom для соотношения сторон в мобильной версии (190% - примерно 1:1.9, чтобы была большая вертикальная область) */
        padding-bottom: 190%; 
    }

    .appstore-event-image-container img {
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Темный градиент для читаемости текста */
    .appstore-event-image-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
        z-index: 5;
    }
    
    .appstore-event-content {
        position: absolute; 
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px 20px 10px; 
        box-sizing: border-box;
        height: auto;
        background: transparent; 
        justify-content: flex-end; 
        z-index: 10;
    }
    
    .appstore-event-tag {
        top: 12px;   /* расстояние от верхнего края */
        left: 12px;  /* расстояние от левого края */
    }

    .appstore-event-heading {
        margin-top: 0; 
        margin-bottom: 5px;
    }
    
    .appstore-event-description {
        display: none; /* Скрываем описание в мобильной версии */
    }

    .appstore-event-footer {
        flex-wrap: nowrap; 
        margin-top: 15px;
        padding-top: 10px;
        border-top: none; 
    }

    .appstore-event-footer .game-info {
        flex-grow: 1;
        margin-right: auto; 
    }

    .appstore-event-view-button {
        width: auto; 
        margin-top: 0;
        background-color: #f00; /* Используем более яркий цвет для мобильной кнопки */
    }
}
/* -------------------------------------- */
/* 1. Стили для контейнера загрузки */
/* -------------------------------------- */
#app {
    /* Чтобы лоадер мог позиционироваться внутри, если это необходимо */
    position: relative;
    min-height: 500px; /* Чтобы страница не "прыгала" при загрузке */
}

.loader-overlay {
    position: fixed; /* Закрепляем на весь экран */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95); /* Светлый полупрозрачный фон */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Поверх всего контента */
    transition: opacity 0.3s ease;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none; /* Запрещаем взаимодействие, когда скрыт */
}

/* -------------------------------------- */
/* 2. Сама анимация (Spinning Circle) */
/* -------------------------------------- */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Светло-серый круг */
    border-top: 5px solid #ffc107; /* Желтый сегмент (цвет вашего CTA) */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Анимация вращения */
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}/* Контейнер для новой кнопки под основными */
.spike-special-container {
    padding: 0 20px 20px 20px;
    display: flex;
    justify-content: flex-start;
}

/* ==================================================
   Кнопка Telegram в стиле The Spike
   ================================================== */

.spike-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-width: 260px;
    padding: 12px 20px;

    text-decoration: none;
    border-radius: 14px;

    /* Фирменный холодный градиент */
    background: linear-gradient(
        135deg,
        #0b1c2d 0%,
        #0e2f4f 50%,
        #123b63 100%
    );

    /* Светящаяся игровая рамка */
    border: 1.5px solid rgba(80, 160, 255, 0.55);

    backdrop-filter: blur(8px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.45),
        0 0 0 rgba(0, 0, 0, 0);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

/* Hover — как в игровом меню */
.spike-telegram-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(120, 200, 255, 0.9);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(0, 120, 255, 0.45);
}

/* ==================================================
   Текстовый блок
   ================================================== */

.spike-btn-info {
    display: flex;
    flex-direction: column;
}

/* Маленький верхний текст */
.spike-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: rgba(200, 230, 255, 0.85);
}

/* Большой основной текст */
.spike-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

/* ==================================================
   Иконка / изображение справа
   ================================================== */

.spike-btn-image {
    position: relative;
    width: 46px;
    height: 46px;
    margin-left: 16px;

    filter: drop-shadow(0 0 6px rgba(0, 140, 255, 0.45));
}

.spike-btn-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==================================================
   Декоративный эффект (конфетти / значок)
   ================================================== */

.spike-confetti {
    position: absolute;
    top: -10px;
    right: -8px;
    font-size: 14px;
    opacity: 0.8;
}

/* ================= ROADMAP SECTION (СВЕТЛАЯ ТЕМА) ================= */
.roadmap-section {
    margin: 40px 0;
    padding: 30px;
    background: #ffffff; /* Светлый фон */
    border-radius: 16px;
    border: 1px solid #eaeaea;
    text-align: center;
    color: #333; /* Темный основной текст */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); /* Мягкая, почти незаметная тень */
}

.roadmap-section h2 {
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.roadmap-subtitle {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.roadmap-column {
    background: #f8f9fa; /* Очень светло-серый фон для колонок */
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-month-title {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 8px;
}

.roadmap-month-title .month-short {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    line-height: 1.1;
}

.roadmap-month-title .month-full {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
}

.roadmap-card {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 20px 15px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Эффект при наведении */
.roadmap-card:hover {
    border-color: #ffda44; /* Желтый акцент под твои кнопки */
    box-shadow: 0 5px 15px rgba(255, 218, 68, 0.15);
    transform: translateY(-2px);
}

.roadmap-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.roadmap-card p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* Особая карточка (Event Wind Spiker) */
.roadmap-card.highlight {
    background: #fffdf0; /* Легкий теплый оттенок */
    border-color: #a244ff;
}

.roadmap-card.highlight:hover {
    border-color: #8400ff;
    box-shadow: 0 5px 15px rgba(255, 183, 0, 0.15);
}

/* Пустая колонка (для будущих месяцев) */
.empty-column {
    opacity: 0.6;
}
.roadmap-card.placeholder {
    border-style: dashed;
    background: transparent;
    text-align: center;
    padding: 30px 15px;
}
/* Стиль для значения счетчика */
.info-value b {
    color: #007aff; /* Синий цвет как в App Store */
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Анимация пульсации, пока данные грузятся */
.stat-loading {
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* Иконка рядом со счетчиком в инфо-гриде (опционально) */
.info-item:nth-child(5) .info-key::before {
    content: "📥 ";
    margin-right: 4px;
}
/* Контейнер для счетчика в шапке */
.download-stats-prominent {
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Жирные цифры */
.stat-value-big {
    font-size: 24px;
    font-weight: 800; /* Максимальная жирность */
    color: #222;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

/* Маленькая подпись под цифрами */
.stat-label-mini {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Анимация загрузки */
.stat-loading {
    color: #ccc;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

/* Контейнер-обертка для центровки всего блока */
.download-stats-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Центрирует по горизонтали */
    margin: 15px 0;
}

/* Сам блок с текстом */
.download-stats-prominent {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирует текст внутри блока */
    text-align: center;
}

/* Число скачиваний: еще жирнее и четче */
.stat-value-big {
    font-size: 28px;
    font-weight: 850; 
    color: #1a1a1b;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Подпись под числом */
.stat-label-mini {
    font-size: 11px;
    font-weight: 700;
    color: #8e8e93;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Анимация загрузки (плавное мигание) */
.stat-loading {
    color: #d1d1d6;
    animation: pulse-fade 1.5s infinite ease-in-out;
}

@keyframes pulse-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}